/*
 * @Author: 华芊芊 huaqianqian@yeah.net
 * @Date: 2023-09-22 10:08:44
 * @LastEditors: 华芊芊 huaqianqian@yeah.net
 * @LastEditTime: 2023-10-15 16:03:56
 * @FilePath: \zmglpt-ui-screen\src\api\market.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'
let paramsTemp = {
  // ...JSON.parse(localStorage.getItem('PICKTIME')),
  columnName: "prov_org_uuid",
  orgUuid: "00000000000000000000000011340001",
}
// 零售业态
export const getRetailTotal = (params = {}) =>
  request({
    url: '/lic_format_num_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
  export const getWglsh = (params = {}) =>
  request({
    url: '/up_twice_infraction_retailer/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
  export const getWglshCount = (params = {}) =>
  request({
    url: '/up_twice_infraction_retailer_count/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
  export const getWglshCountList = (params = {}) =>
  request({
    url: '/up_twice_infraction_retailer_count_list/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 重点监管
export const getZdjgNum = (params = {}) =>
  request({
    url: '/zdjg_data_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 双随机
export const getRandomProcessRadio = (params = {}) =>
  request({
    url: '/lic_random_process_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 无证户管理
export const getUnlicNum = (params = {}) =>
  request({
    url: '/unlic_data_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 信用等级
export const getLicLevel = (params = {}) =>
  request({
    url: '/lic_credit_level_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 监管效能
export const getJgxnNum = (params = {}) =>
  request({
    url: '/jgxn_data_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 监管效能 人均查获卷烟数
export const getAverageCigarNum = (params = {}) =>
  request({
    url: '/case_rjch_qty_data/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 监管效能 人均查获案件数
export const getAverageCaseNum = (params = {}) =>
  request({
    url: '/case_rjch_case_data/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 查获案件 
export const getDiscoverNum = (params = {}) =>
  request({
    url: '/zdjg_case_data_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//地图数据
export const getMapData = (params = {}) =>
  request({
    url: '/zdjg_map_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
 
  //检查户次列表
export const getCheckNumData = (params = {}) =>
request({
  url: '/org_check_num_ranking/',
  method: 'get',
  params: { ...paramsTemp, ...params },
  custom: { catch: true },
})
  //检查户次列表
  export const getOrgRandRomRanking = (params = {}) =>
  request({
    url: '/org_random_ranking/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
  //监管能效对标数据
  export const getMarketBmkData = (params = {}) =>
  request({
    url: '/market_bmk_data/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })

  //监管能效对标数据
  export const getAvgAdminLicNum = (params = {}) =>
  request({
    url: '/jgxn_data_ah_v1_xz/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })

  
  //全域管控三网融合接口
  export const getThreeNetFusion = (params = {}) =>
  request({
    url: '/three_net_fusion_ah_v1/',
    method: 'get',
    params: { ...params },
    custom: { catch: true },
  })

  // 队所级标杆队所数据统计
  export const getBenchMarkTeamStatData = (params = {}) =>
  request({
    url: '/bench_mark_team_stat/',
    method: 'get',
    params: { ...params },
    custom: { catch: true },
  })